dic1 = {'y1' :'cat','y2' :'dog','y3' : 'pig'}
print('dic1 include y1,y2,y3')
dor = input("Please add your favourite door :")
try:
    print(dic1[dor])
except KeyError:
    print('Your choice is not a useful idea.')    
